package com.sls.web.manager.recharge.service;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.recharge.pojo.PriceTemplate;
import com.sls.web.manager.recharge.querybean.PriceTemplateQuery;

/**
 * @author sxf
 * 
 */
public interface PriceTemplateService {
	public String save(PriceTemplate pt, UserInfoVO userinfo) throws Exception;

	public void delete(String id, UserInfoVO userinfo) throws Exception;

	public void update(PriceTemplate pt, UserInfoVO userinfo) throws Exception;

	/**
	 * 可传参数:id
	 * 
	 * @param id
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public PriceTemplate findById(String id, UserInfoVO userinfo)
			throws Exception;

	/**
	 * 可传参数:id
	 * 
	 * @param ptq
	 * @param userInfo
	 * @return
	 * @throws Exception
	 */
	public Pagination<PriceTemplate> findPage(PriceTemplateQuery ptq,
			UserInfoVO userInfo) throws Exception;
}
